package io.renren.membermanage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("model_train")
public class ModelTrain {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @TableField("user_id")
    private Long userId;

    @TableField("task_id")
    private String taskId;

    @TableField("status")
    private Integer status;

    @TableField("generate_address")
    private String generateAddress;

    @TableField("output_name")
    private String outputName;

    @TableField("input_output_name")
    private String inputOutputName;

    @TableField("train_param")
    private String trainParam;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("train_time")
    private LocalDateTime trainTime;

    @TableField("trained_time")
    private LocalDateTime trainedTime;
}
